package cn.chia.pojo;

/**
 * Address entity. @author MyEclipse Persistence Tools
 */

public class Address implements java.io.Serializable {

	// Fields

	private Integer addrId;
	private User user;
	private Integer flag;
	private String addr;
	private String receiverName;
	private String receiverPhone;
	private String tname;

	// Constructors

	/** default constructor */
	public Address() {
	}

	/** full constructor */
	public Address(User user, Integer flag, String addr, String receiverName,
			String receiverPhone, String tname) {
		this.user = user;
		this.flag = flag;
		this.addr = addr;
		this.receiverName = receiverName;
		this.receiverPhone = receiverPhone;
		this.tname = tname;
	}

	// Property accessors

	public Integer getAddrId() {
		return this.addrId;
	}

	public void setAddrId(Integer addrId) {
		this.addrId = addrId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getFlag() {
		return this.flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getAddr() {
		return this.addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getReceiverName() {
		return this.receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	public String getReceiverPhone() {
		return this.receiverPhone;
	}

	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}

	public String getTname() {
		return this.tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

}